﻿using System;

/*
Write program that asks for a digit and depending on the input 
shows the name of that digit (in English) using a switch statement.
 */

class ExchangeIntegersIfBigger
{
    static void Main(string[] args)
    {
        Console.Write("Enter a valid digit: ");
        int input = Console.Read();
        string result;

        switch (input)
        {
            case '0':
                {
                    result = "zero";
                    break;
                }
            case '1':
                {
                    result = "one";
                    break;
                }

            case '2':
                {
                    result = "two";
                    break;
                }

            case '3':
                {
                    result = "three";
                    break;
                }

            case '4':
                {
                    result = "four";
                    break;
                }

            case '5':
                {
                    result = "five";
                    break;
                }

            case '6':
                {
                    result = "six";
                    break;
                }

            case '7':
                {
                    result = "seven";
                    break;
                }

            case '8':
                {
                    result = "eight";
                    break;
                }

            case '9':
                {
                    result = "nice";
                    break;
                }
            default:
                {
                    result = "Invalid digit";
                    break;
                }
        }
        Console.WriteLine(result);

    }
}

